package admin

import (
	auto "beergo/app/chinamap/auto/controller"
	"beergo/app/chinamap/conf"
	"github.com/beego/beego/v2/server/web"
)

type ChinaAreaAdminController struct {
	auto.ChinaAreaController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/:id", 		&ChinaAreaAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/info", 		&ChinaAreaAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/scan", 		&ChinaAreaAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/list", 	    &ChinaAreaAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/update", 	&ChinaAreaAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/create", 	&ChinaAreaAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/copy", 	    &ChinaAreaAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/edit", 	    &ChinaAreaAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/delete", 	&ChinaAreaAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/:id/:field", &ChinaAreaAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/choice", &ChinaAreaAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/ChinaArea/category", &ChinaAreaAdminController{}, "*:CategoryAction")
}
//func (this *ChinaAreaAdminController) Prepare() {}
//func (this *ChinaAreaAdminController) ListAction() {}
//func (this *ChinaAreaAdminController) GetAction() {}
//func (this *ChinaAreaAdminController) InfoAction() {}
//func (this *ChinaAreaAdminController) ScanAction() {}
//func (this *ChinaAreaAdminController) CreateAction() {}
//func (this *ChinaAreaAdminController) UpdateAction() {}
//func (this *ChinaAreaAdminController) CopyAction() {}
//func (this *ChinaAreaAdminController) DeleteAction() {}
//func (this *ChinaAreaAdminController) EditAction() {}
//func (this *ChinaAreaAdminController) SonsAction() {}
//func (this *ChinaAreaAdminController) ChoiceAction() {}
//func (this *ChinaAreaAdminController) CategoryAction() {}
